<template>
	<view class="harvest_record">
		<Navbar>收获记录</Navbar>
		<view class="content">
			<view class="banner">
				<view class="info">
					<view class="key">累计收获粮食</view>
					<view class="number">596,840</view>
				</view>
				<image :src="`${baseImageUrl}/common/hot_cover1.png`" class="cover"></image>
			</view>
			<view class="header">
				<view class="title">获取记录</view>
				<view class="list_title">
					<view class="item">时间</view>
					<view class="item">数量</view>
				</view>
			</view>
			<scroll-view scroll-y class="scroll_view">
				<view class="item" v-for="item in 99">
					<view>2023-08-15 23:36:24</view>
					<view>+100</view>
				</view>
			</scroll-view>
		</view>
	</view>
</template>

<script>
</script>

<style scoped lang="scss">
	$bannerHeight: 240rpx;
	$herderHeight: 168rpx;

	.harvest_record {
		height: 100vh;
		background: #29170D;
		overflow: hidden;

		.content {
			height: calc(100vh - #{$navbarHeight});
			padding: 30rpx 30rpx 0;
			box-sizing: border-box;

			.banner {
				width: 100%;
				height: $bannerHeight;
				padding: 30rpx;
				box-sizing: border-box;
				background: url(#{$baseImageUrl}/bg/688_238.png) no-repeat;
				background-size: 100% 100%;
				display: flex;
				justify-content: space-between;

				.info {
					padding-top: 24rpx;

					.key {
						color: #494338;
						font-size: 42rpx;
						font-weight: 400;
						font-family: LiSu;
						margin-bottom: 30rpx;
					}

					.number {
						color: #494338;
						font-size: 50rpx;
						font-weight: 400;
						font-family: SimSun;
					}
				}

				.cover {
					width: 180rpx;
					height: 180rpx;
				}
			}

			.header {
				height: $herderHeight;

				.title {
					height: 108rpx;
					line-height: 108rpx;
					color: #FFFFFF;
					font-size: 42rpx;
					font-weight: 400;
					font-family: LiSu;
				}

				.list_title {
					padding: 0 30rpx;
					box-sizing: border-box;
					display: flex;
					justify-content: space-between;

					.item {
						color: #FFFFFF;
						font-size: 28rpx;
						font-weight: 400;
						font-family: SimSun;
					}
				}
			}

			.scroll_view {
				height: calc(100vh - #{$navbarHeight} - #{$bannerHeight} - #{$herderHeight} - 30rpx);

				.item {
					width: 100%;
					height: 60rpx;
					color: #494338;
					font-size: 28rpx;
					font-weight: 400;
					font-family: SimSun;
					margin-bottom: 10rpx;
					padding: 0 30rpx;
					box-sizing: border-box;
					background: url(#{$baseImageUrl}/home/i3.png) no-repeat;
					background-size: 100% 100%;
					display: flex;
					justify-content: space-between;
					align-items: center;
				}
			}
		}
	}
</style>